<template>
    <div class="tag">
      <div class="tag-title"><h3>文章标签</h3></div>
      <div class="tag-warp">
          <nuxt-link :to="`category/${key}`" v-for="(item, key) in 10" :key="key">
              <el-tag >第{{item}}条</el-tag>
          </nuxt-link>
      </div>
    </div>
</template>

<script>
export default {

}
</script>

<style>
.tag {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 0 10px 10px 10px;
    margin-bottom: 10px;
}
.tag-title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eee;
}
.tag-title h3{
    font-size: 16px;
    display: inline-block;
    line-height: 40px;
    box-sizing: border-box;
    border-bottom: #333 solid 1px;
    font-weight: bold;
    padding: 0 10px;
}
.tag-warp {
    padding:10px 0px;
}
.tag-warp a{
    display: inline-block;
    margin:3px 5px;
}
</style>